package application.employee.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * 雇员详细信息
 *
 * @author roamer
 * @version V1.0
 * @date 2019-03-03 13:49
 */
@Data
@NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class EmployeeDetail extends EmployeeEmbedded {

    private static final long serialVersionUID = 1L;

    /** 姓 */
    @Field("firstName")
    private String firstName;

    /** 名 */
    @Field("lastName")
    private String lastName;

}
